<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>北京师范大学师范生</title>
<link href="/Public/home/default.css" rel="stylesheet"
	type="text/css" />
<link rel="stylesheet" type="text/css"
	href="/Public/home/header.css" />
<link rel="stylesheet" href="/Public/coin-slider/coin-slider-styles.css" type="text/css" />
<script language="javascript" type="text/javascript"
	src="/Public/home/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="/Public/home/jquery.lightbox-0.5.js"></script>
<script type="text/javascript" src="/Public/home/jquery.bxcarousel.min.js"></script>
<script type="text/javascript" src="/Public/coin-slider/coin-slider.min.js"></script>
<script type="text/javascript" src="/Public/home/jquery.marquee.js"></script>
<literal> <script language="javascript" type="text/javascript">
	$(document).ready(function() {
		$(".mainNav a").mouseover(function() {
			$(".mainNav a").attr("class", "");
			$("#" + this.id).attr("class", "actived");
			var currentMenuNo = parseInt(this.id.substring(1));
			$(".secondNav div").each(function() {
				$(this).hide();
				$("#subNav" + currentMenuNo).show();
			});
		});
	});
	/*banner index pic=910*315*/
	$(document).ready(function() {
		$('#coin-slider').coinslider({ width: 910, height: 315, navigation: true, delay: 3000, effect: 'rain',opacity: 0.5 });
	});
</script>
<script type="text/javascript">
//滚动插件
(function($){
$.fn.extend({
        Scroll:function(opt,callback){
                //参数初始化
                if(!opt) var opt={};
                var _this=this.eq(0).find("ul:first");
                var        lineH=_this.find("li:first").height(), //获取行高
                        line=opt.line?parseInt(opt.line,10):parseInt(this.height()/lineH,10), //每次滚动的行数，默认为一屏，即父容器高度
                        speed=opt.speed?parseInt(opt.speed,10):500, //卷动速度，数值越大，速度越慢（毫秒）
                        timer=opt.timer?parseInt(opt.timer,10):3000; //滚动的时间间隔（毫秒）
                if(line==0) line=1;
                var upHeight=0-line*lineH;
                //滚动函数
                scrollUp=function(){
                        _this.animate({
                                marginTop:upHeight
                        },speed,function(){
                                for(i=1;i<=line;i++){
                                        _this.find("li:first").appendTo(_this);
                                }
                                _this.css({marginTop:0});
                        });
                }
                //鼠标事件绑定
                _this.hover(function(){
                        clearInterval(timerID);
                },function(){
                        timerID=setInterval("scrollUp()",timer);
                }).mouseout();
        }       
})
})(jQuery);
$(document).ready(function(){
        $("#right").Scroll({line:1,speed:1500,timer:2000});
});
</script>
<script type="text/javascript">   
var t = n = count = 0;   
$(function(){   
    count = $("#play_list a").size();   
    $("#play_list a:not(:first-child)").hide();   
    $("#play_info").html($("#play_list a:first-child").find("img").attr('alt'));   
    $("#play_text li:first-child").css({"background":"#fff",'color':'#47720f'});   
    $("#play_info").click(function(){window.open($("#play_list a:first-child").attr('href'), "_blank")});   
    $("#play_text li").click(function() {   
        var i = $(this).text() - 1;   
        n = i;   
        if (i >= count) return;   
        $("#play_info").html($("#play_list a").eq(i).find("img").attr('alt'));   
        $("#play_info").unbind().click(function(){window.open($("#play_list a").eq(i).attr('href'), "_blank")})   
        $("#play_list a").filter(":visible").fadeOut(500).parent().children().eq(i).fadeIn(1000);   
        $(this).css({"background":"#fff",'color':'#47720f'}).siblings().css({"background":"#47720f",'color':'#fff'});   
    });   
    t = setInterval("showAuto()", 2000);   
    $("#play").hover(function(){clearInterval(t)}, function(){t = setInterval("showAuto()", 2000);});   
})   
  
function showAuto()   
{   
    n = n >= (count - 1) ? 0 : n + 1;   
    $("#play_text li").eq(n).trigger('click');   
}   
</script>
<script type="text/javascript">  
$.fn.infiniteCarousel = function () {
 
    function repeat(str, num) {
        return new Array( num + 1 ).join( str );
    }
  
    return this.each(function () {
        var $wrapper = $('> div', this).css('overflow', 'hidden'),
            $slider = $wrapper.find('> ul'),
            $items = $slider.find('> li'),
            $single = $items.filter(':first'),
            
            singleWidth = $single.outerWidth(), 
            visible = Math.ceil($wrapper.innerWidth() / singleWidth), // note: doesn't include padding or border
            currentPage = 1,
            pages = Math.ceil($items.length / visible);            
 
 
        // 1. Pad so that 'visible' number will always be seen, otherwise create empty items
        if (($items.length % visible) != 0) {
            $slider.append(repeat('<li class="empty" />', visible - ($items.length % visible)));
            $items = $slider.find('> li');
        }
 
        // 2. Top and tail the list with 'visible' number of items, top has the last section, and tail has the first
        $items.filter(':first').before($items.slice(- visible).clone().addClass('cloned'));
        $items.filter(':last').after($items.slice(0, visible).clone().addClass('cloned'));
        $items = $slider.find('> li'); // reselect
        
        // 3. Set the left position to the first 'real' item
        $wrapper.scrollLeft(singleWidth * visible);
        
        // 4. paging function
        function gotoPage(page) {
            var dir = page < currentPage ? -1 : 1,
                n = Math.abs(currentPage - page),
                left = singleWidth * dir * visible * n;
            
            $wrapper.filter(':not(:animated)').animate({
                scrollLeft : '+=' + left
            }, 500, function () {
                if (page == 0) {
                    $wrapper.scrollLeft(singleWidth * visible * pages);
                    page = pages;
                } else if (page > pages) {
                    $wrapper.scrollLeft(singleWidth * visible);
                    // reset back to start position
                    page = 1;
                } 
 
                currentPage = page;
            });                
            
            return false;
        }
        
        $wrapper.after('<a class="arrow back">&lt;</a><a class="arrow forward">&gt;</a>');
        
        // 5. Bind to the forward and back buttons
        $('a.back', this).click(function () {
            return gotoPage(currentPage - 1);                
        });
        
        $('a.forward', this).click(function () {
            return gotoPage(currentPage + 1);
        });
        
        // create a public interface to move to a specific page
        $(this).bind('goto', function (event, page) {
            gotoPage(page);
        });
    });  
};
 
$(document).ready(function () {
  $('.infiniteCarousel').infiniteCarousel();
});
</script>
<script type="text/javascript">

    $(function() {

        $('#gallery a').lightBox({
         	overlayBgColor: '#FFF',
         	overlayOpacity: 0.6,
         	imageLoading: '/Public/home/lightbox-ico-loading.gif',
         	imageBtnClose: '/Public/home/lightbox-btn-close.gif',
         	imageBtnPrev: '/Public/home/lightbox-btn-prev.gif',
         	imageBtnNext: '/Public/home/lightbox-btn-next.gif',
         	containerResizeSpeed: 350,
         	txtImage: 'Imagem',
         	txtOf: 'de'
            });

    });
    /*$(document).ready(function(){
        $('#marqueediv').bxCarousel({
                display_num: 7,
                move: 1,
                auto: true,
                controls: false,
                margin: 10,
                auto_hover: true,
        });
});*/
    </script>
</literal>
</head>
<body>
	<div id="container">
		<div id="logo">
			<a href="http://xsc.bnu.edu.cn" target="_blank"><img src="/Public/home/logo.jpg" border="0" usemap="#Map" width="910px"/></a>
		</div>
		<div id="menu">
			<div class="header">
				<div class="padder">
					<div class="nav">
						<div class="navLaftBg">
							<div class="navRightBg">
								<div class="mainNav">
								<a href="__APP__/Home/Index/index" id="n1">首页</a>
								<volist name="pagefront" id="page">
									<a href="__APP__/Home/View/page?pageid={$page.page_id}" id="n{$i+1}">{$page.page_name}</a>
								</volist>
									<volist name="main" id="navi" key="key"> <a
										href="__APP__/Home/View/category?caid={$navi.category_id}" id="n{$key+$count[0]+1}">{$navi.category_name}</a>
									</volist>
									<volist name="pageback" id="page">
									<a href="__APP__/Home/View/page?pageid={$page.page_id}" id="n{$i+$count[0]+$count[1]+1}">{$page.page_name}</a>
								</volist>
								</div>
							</div>
						</div>
					</div>
					<div class="secondNav">
						<volist name="main" id="navi" key="key">
						<div id="subNav{$key+$count[0]+1}" class="subNav{$key+$count[0]+1}">
							<volist name="subnavi" id="sub"> <eq
								name="sub.channel_category" value="$navi.category_id"> <a
								href="__APP__/Home/View/channel?chid={$sub.channel_id}">{$sub.channel_name}</a> </eq>
							</volist>
						</div>
						</volist>
					</div>
				</div>
			</div>
		</div>